import {
  ChangeDetectionStrategy,
  Component,
  EventEmitter,
  Input,
  Output,
  ViewEncapsulation,
} from '@angular/core';
import { ApesCalendarI18nInterface } from '@shared/apes/i18n';


@Component({
  selector: 'ok-button',
  exportAs: 'okButton',
  templateUrl: 'ok-button.component.html',
  encapsulation: ViewEncapsulation.None,
  changeDetection: ChangeDetectionStrategy.OnPush
})

export class OkButtonComponent {
  @Input() locale: ApesCalendarI18nInterface;
  @Input() okDisabled: boolean = false;
  @Output() clickOk = new EventEmitter<void>();

  prefixCls: string = 'apes-calendar';
}
